import config from "@/config"
import http from "@/utils/request"

export default {
	//通知
    list: {
        url: `${config.API_URL}/adminapi/base.Tips/lists`,
        name: "获取通知列表",
        get: async function(data={}){
            return await http.get(this.url, data);
        }
    },
    add: {
        url: `${config.API_URL}/adminapi/base.Tips/add`,
        name: "添加通知",
        post: async function(data={}){
            return await http.post(this.url, data);
        }
    },
    read: {
        url: `${config.API_URL}/adminapi/base.Tips/updateStatus`,
        name: "已读通知",
        post: async function(data={}){
            return await http.post(this.url, data);
        }
    },
}
